package com.question.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.question.entity.Paper;
import com.question.entity.Question;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface QuestionMapper  extends BaseMapper<Question> {
    IPage<Question> selectByPage(IPage<Question> page, String keyword);

    List<Question> selectDetail(Integer id);
//    IPage<Question> selectByPage(IPage<Question> page,String keyword);
}
